package com.atguigu.gmall.product.service;

import com.atguigu.gmall.model.product.BaseCategoryView;
import com.atguigu.gmall.model.product.SkuInfo;
import com.atguigu.gmall.model.product.SpuSaleAttr;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * ApiXXXXXXXXXService   代表提供远程服务
 * @author dyqstart
 * @create 2021-08-06-21:22
 * @since 1.0.0
 */
public interface ApiProductService {

    SkuInfo getSkuInfo(Long skuId);

    BaseCategoryView getSkuCategory3(Long category3Id);

    List<SpuSaleAttr> getSpuSaleAttrListCheckBySku(Long skuId, Long spuId);

    Map getSkuValueIdsMap(Long spuId);

    BigDecimal getSkuPrice(Long skuId);
}
